<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class Form | agile</title>

	<script type="text/javascript" src="resources/combined.js?394153670"></script>
	<script type="text/javascript" src="elementlist.js?789668583"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
		</div>



		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-Bootstrap.html">Bootstrap</a></li>
				<li><a href="class-Button.html">Button</a></li>
				<li><a href="class-CheckBox.html">CheckBox</a></li>
				<li><a href="class-Container.html">Container</a></li>
				<li><a href="class-Controller.html">Controller</a></li>
				<li><a href="class-Db.html">Db</a></li>
				<li><a href="class-Directorio.html">Directorio</a></li>
				<li><a href="class-Element.html">Element</a></li>
				<li><a href="class-examplesController.html">examplesController</a></li>
				<li class="active"><a href="class-Form.html">Form</a></li>
				<li><a href="class-mainController.html">mainController</a></li>
				<li><a href="class-Model.html">Model</a></li>
				<li><a href="class-RadioButton.html">RadioButton</a></li>
				<li><a href="class-RadioButtonOption.html">RadioButtonOption</a></li>
				<li><a href="class-Request.html">Request</a></li>
				<li><a href="class-Select.html">Select</a></li>
				<li><a href="class-SelectGroup.html">SelectGroup</a></li>
				<li><a href="class-SelectOption.html">SelectOption</a></li>
				<li><a href="class-Table.html">Table</a></li>
				<li><a href="class-TableRow.html">TableRow</a></li>
				<li><a href="class-TextBox.html">TextBox</a></li>
				<li><a href="class-View.html">View</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Form</h1>


	<div class="description">
	
<p>Formulario Web</p>

	</div>









	<div class="info">
		
		
		
		

		<b>Located at</b> <a href="source-class-Form.html#3-187" title="Go to source code">libs/Form.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="__construct" id="___construct">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___construct">#</a>
		<code><a href="source-class-Form.html#15-25" title="Go to source code">__construct</a>( <span>String <var>$id</var></span> )</code>

		<div class="description short">
			
<p>Constructor</p>

		</div>

		<div class="description detailed hidden">
			
<p>Constructor</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$id</var></dt>
					<dd><code>String</code><br>$id Identificador del Formulario Web</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="setId" id="_setId">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setId">#</a>
		<code><a href="source-class-Form.html#27-33" title="Go to source code">setId</a>( <span>String <var>$id</var></span> )</code>

		<div class="description short">
			
<p>Establece el Identificador del Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Establece el Identificador del Formulario</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$id</var></dt>
					<dd><code>String</code><br>$id Identificador del Formulario</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getId" id="_getId">

		<td class="attributes"><code>
			 public 
			String
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getId">#</a>
		<code><a href="source-class-Form.html#35-41" title="Go to source code">getId</a>( )</code>

		<div class="description short">
			
<p>Obtiene el Identificador del Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Obtiene el Identificador del Formulario</p>




				<h4>Returns</h4>
				<div class="list">
					<code>String</code><br>Identidicador del Formulario<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="getMethod" id="_getMethod">

		<td class="attributes"><code>
			 public 
			String
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getMethod">#</a>
		<code><a href="source-class-Form.html#43-49" title="Go to source code">getMethod</a>( )</code>

		<div class="description short">
			
<p>Obtiene el METHOD del Formulario (GET|POST)</p>

		</div>

		<div class="description detailed hidden">
			
<p>Obtiene el METHOD del Formulario (GET|POST)</p>




				<h4>Returns</h4>
				<div class="list">
					<code>String</code><br>METHOD<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="setMethod" id="_setMethod">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setMethod">#</a>
		<code><a href="source-class-Form.html#51-57" title="Go to source code">setMethod</a>( <span>String <var>$method</var></span> )</code>

		<div class="description short">
			
<p>Establece el METHOD del Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Establece el METHOD del Formulario</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$method</var></dt>
					<dd><code>String</code><br>$method GET|POST</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getAction" id="_getAction">

		<td class="attributes"><code>
			 public 
			String
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getAction">#</a>
		<code><a href="source-class-Form.html#59-65" title="Go to source code">getAction</a>( )</code>

		<div class="description short">
			
<p>Obtiene el ACTION del Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Obtiene el ACTION del Formulario</p>




				<h4>Returns</h4>
				<div class="list">
					<code>String</code><br>ACTION<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="setAction" id="_setAction">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setAction">#</a>
		<code><a href="source-class-Form.html#67-73" title="Go to source code">setAction</a>( <span>String <var>$action</var></span> )</code>

		<div class="description short">
			
<p>Establece el ACTION del Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Establece el ACTION del Formulario</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$action</var></dt>
					<dd><code>String</code><br>$action ACTION</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getLabelSubmit" id="_getLabelSubmit">

		<td class="attributes"><code>
			 public 
			String
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getLabelSubmit">#</a>
		<code><a href="source-class-Form.html#75-81" title="Go to source code">getLabelSubmit</a>( )</code>

		<div class="description short">
			
<p>Obtiene la Etiqueta del Botón SUBMIT del Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Obtiene la Etiqueta del Botón SUBMIT del Formulario</p>




				<h4>Returns</h4>
				<div class="list">
					<code>String</code><br>Etiqueta<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="setLabelSubmit" id="_setLabelSubmit">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setLabelSubmit">#</a>
		<code><a href="source-class-Form.html#83-89" title="Go to source code">setLabelSubmit</a>( <span>String <var>$labelSubmit</var></span> )</code>

		<div class="description short">
			
<p>Establece la Etiqueta del Botón de Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Establece la Etiqueta del Botón de Formulario</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$labelSubmit</var></dt>
					<dd><code>String</code><br>$labelSubmit Etiqueta</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getActionCancel" id="_getActionCancel">

		<td class="attributes"><code>
			 public 
			String
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getActionCancel">#</a>
		<code><a href="source-class-Form.html#91-97" title="Go to source code">getActionCancel</a>( )</code>

		<div class="description short">
			
<p>Obtiene la acción que se ejecuta al cancelar el Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Obtiene la acción que se ejecuta al cancelar el Formulario</p>




				<h4>Returns</h4>
				<div class="list">
					<code>String</code><br>Url<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="setActionCancel" id="_setActionCancel">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setActionCancel">#</a>
		<code><a href="source-class-Form.html#99-105" title="Go to source code">setActionCancel</a>( <span>String <var>$url</var></span> )</code>

		<div class="description short">
			
<p>Establece la acción que se ejecuta al cancelar el Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Establece la acción que se ejecuta al cancelar el Formulario</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$url</var></dt>
					<dd><code>String</code><br>$url Url</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="generate" id="_generate">

		<td class="attributes"><code>
			 public 
			type
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_generate">#</a>
		<code><a href="source-class-Form.html#107-167" title="Go to source code">generate</a>( )</code>

		<div class="description short">
			
<p>Genera el código HTML del formulario Web</p>

		</div>

		<div class="description detailed hidden">
			
<p>Genera el código HTML del formulario Web</p>




				<h4>Returns</h4>
				<div class="list">
					<code>type</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="addElement" id="_addElement">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_addElement">#</a>
		<code><a href="source-class-Form.html#169-177" title="Go to source code">addElement</a>( <span>String <var>$label</var></span>, <span><code><a href="class-Element.html">Element</a></code>|Array <var>$element</var></span>, <span>Boolean <var>$required</var> = <span class="php-keyword1">TRUE</span></span> )</code>

		<div class="description short">
			
<p>Agrega uno o mas campos al Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Agrega uno o mas campos al Formulario</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$label</var></dt>
					<dd><code>String</code><br>$label Etiqueta del Campo</dd>
					<dt><var>$element</var></dt>
					<dd><code><code><a href="class-Element.html">Element</a></code>|Array</code><br>$element Objeto Element</dd>
					<dt><var>$required</var></dt>
					<dd><code>Boolean</code><br>$required Indica si el campo es Requerido</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getElements" id="_getElements">

		<td class="attributes"><code>
			 public 
			<code><a href="class-Element.html">Element</a></code>|Array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getElements">#</a>
		<code><a href="source-class-Form.html#179-185" title="Go to source code">getElements</a>( )</code>

		<div class="description short">
			
<p>Obtiene los Elementos del Formulario</p>

		</div>

		<div class="description detailed hidden">
			
<p>Obtiene los Elementos del Formulario</p>




				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-Element.html">Element</a></code>|Array</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	</table>


















</div>

	<div id="footer">
		agile API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
